.PHONY:consumertest
connectiontest:mq_connectiontest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread -I../mqthird/include
channeltest:mq_channeltest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread -I../mqthird/include
consumertest:mq_consumertest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
routetest:mq_routetest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
hosttest:mq_hosttest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
messagetest:mq_messagetest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
bindingtest:mq_bindingtest.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
queuetest:mq_queuetest.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
exchangetest:mq_exchangetest.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
filetest:mq_filetest.cc
	g++ -std=c++11 $^ -o $@
clean:
	rm -rf filetest